#include "ProtoType.h"

int main() {
  Wall* wall_1 = new BombedWall(1);
  Door* door_1 = new BombedDoor(1, 2);
  Factory* factory_1 = new ProtoTypeFactory(wall_1, door_1);
  factory_1->CreateWall();
  factory_1->CreateDoor();

  Wall* wall_2 = new CastleWall(3);
  Door* door_2 = new CastleDoor(3, 4);
  Factory* factory_2 = new ProtoTypeFactory(wall_2, door_2);
  factory_2->CreateWall();
  factory_2->CreateDoor();
  return 0;
}
